[INFO] fetching crate spaceslugs 0.1.0...
[INFO] checking spaceslugs-0.1.0 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate spaceslugs 0.1.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate spaceslugs 0.1.0 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate spaceslugs 0.1.0
[INFO] finished tweaking crates.io crate spaceslugs 0.1.0
[INFO] tweaked toml for crates.io crate spaceslugs 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aacc60c4085324b36c5a3e85214b531e6b19d3dc91a1e228725ce1f762f80d9f
[INFO] running `Command { std: "docker" "start" "-a" "aacc60c4085324b36c5a3e85214b531e6b19d3dc91a1e228725ce1f762f80d9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aacc60c4085324b36c5a3e85214b531e6b19d3dc91a1e228725ce1f762f80d9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aacc60c4085324b36c5a3e85214b531e6b19d3dc91a1e228725ce1f762f80d9f", kill_on_drop: false }`
[INFO] [stdout] aacc60c4085324b36c5a3e85214b531e6b19d3dc91a1e228725ce1f762f80d9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5d46b122e21efb773ba7b43b6d907dcd0c107eeb75c5e46af50e26ac416d6ff
[INFO] running `Command { std: "docker" "start" "-a" "f5d46b122e21efb773ba7b43b6d907dcd0c107eeb75c5e46af50e26ac416d6ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking spaceslugs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |         result = re_replace_non_ascii.replace_all(&result[..], "");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |         result = re_replace_non_ascii.replace_all(&result[..], "");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 20 |         result = re_replace_single_quotes.replace_all(&result[..], "");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 20 |         result = re_replace_single_quotes.replace_all(&result[..], "");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 21 |         result = re_replace_non_char.replace_all(&result[..], " ");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 21 |         result = re_replace_non_char.replace_all(&result[..], " ");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 23 |         result = re_replace_spaces.replace_all(&result[..], "-");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spaceslugs` due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut result = string.to_string();
[INFO] [stdout]    |                          ------------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 23 |         result = re_replace_spaces.replace_all(&result[..], "-");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected struct `String`, found enum `Cow`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Cow<'_, str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spaceslugs` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "f5d46b122e21efb773ba7b43b6d907dcd0c107eeb75c5e46af50e26ac416d6ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5d46b122e21efb773ba7b43b6d907dcd0c107eeb75c5e46af50e26ac416d6ff", kill_on_drop: false }`
[INFO] [stdout] f5d46b122e21efb773ba7b43b6d907dcd0c107eeb75c5e46af50e26ac416d6ff
